package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购单详情
 *
 * @author hbq
 * @date 2021-03-31 18:24:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_po_doc_detail")
public class SmsPoDocDetail extends SuperEntity {
    private static final long serialVersionUID=1L;

        @Excel(name = "采购单号")
        @ApiModelProperty(value = "采购单号")
        private String poNo;
        @Excel(name = "物料编号")
        @ApiModelProperty(value = "物料编号")
        private String itemCode;
        @Excel(name = "物料名称")
        @ApiModelProperty(value = "物料名称")
        private String itemName;
        @Excel(name = "MPN")
        @ApiModelProperty(value = "MPN")
        private String mpn;
        @Excel(name = "制造商")
        @ApiModelProperty(value = "制造商")
        private String manufacturer;
        @Excel(name = "采购日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "采购日期")
        private Date detailTime;
        @Excel(name = "采购数量")
        @ApiModelProperty(value = "采购数量")
        private Long num;
        @Excel(name = "采购单价")
        @ApiModelProperty(value = "采购单价")
        private BigDecimal poUnitPrice;
        @Excel(name = "采购金额")
        @ApiModelProperty(value = "采购金额")
        private BigDecimal money;
        @Excel(name = "最小包装数")
        @ApiModelProperty(value = "最小包装数")
        private Integer minPackNum;
        @Excel(name = "预计交货日期",format="yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "预计交货日期")
        private Date deliveryTime;
}
